import Vue from 'vue'
import Router from 'vue-router'
import Login from "../components/Login";
import GarbageClassification from "../components/GarbageClassification";
import MainFrame from "../components/Main"
import MyModel from "../components/MyModel"
import Practice from "../components/Practice"
import EvalModel from "../components/EvalModel"


Vue.use(Router)


export default new Router({
  mode: 'history',
  routes: [
    {
      path:'/main',
      name:"MainFrame",
      component: MainFrame
    },
    {
      path: '/mymodel',
      name: 'MyModel',
      component: MyModel
    },
    {
      path: '/evalmodel',
      name: 'EvalModel',
      component: EvalModel
    },
    {
      path: '/practice',
      name: 'Practice',
      component: Practice
    },
    {
      path: '/',
      name: 'Login',
      component: Login
    }
  ]
})
